package org.cloud.im.server.processor.group;

import org.cloud.im.core.ImChannelContext;
import org.cloud.im.core.packets.Group;
import org.cloud.im.core.packets.JoinGroupRespBody;
import org.cloud.im.server.processor.SingleProtocolCmdProcessor;

/**
 * @Author: w.weidong.lin@abite.com
 * @Description: TODO
 * @Date: create in 2021/10/19 14:39
 */
public interface GroupCmdProcessor extends SingleProtocolCmdProcessor {
    /**
     * 加入群组处理
     * @param joinGroup
     * @param imChannelContext
     * @return
     */
    JoinGroupRespBody join(Group joinGroup, ImChannelContext imChannelContext);
}
